From: Rui Matos Date: Thu, 15 Nov 2012 15:35:20 +0000 (+0100) Subject: layout: Make OSK animation quicker, snappier X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~5140 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=507f29a7bd673fd9e34f326ad96651bf0eda037c;p=gnome-shell.git layout: Make OSK animation quicker, snappier https://bugzilla.gnome.org/show_bug.cgi?id=688642 --- diff --git a/js/ui/layout.js b/js/ui/layout.js index 9e2dee966..f55e2b36b 100644 --- a/js/ui/layout.js +++ b/js/ui/layout.js @@ -16,7 +16,7 @@ const Tweener = imports.ui.tweener; const HOT_CORNER_ACTIVATION_TIMEOUT = 0.5; const STARTUP_ANIMATION_TIME = 0.2; -const KEYBOARD_ANIMATION_TIME = 0.5; +const KEYBOARD_ANIMATION_TIME = 0.15; const PLYMOUTH_TRANSITION_TIME = 1; const MonitorConstraint = new Lang.Class({ @@ -437,7 +437,7 @@ const LayoutManager = new Lang.Class({ Tweener.addTween(this.keyboardBox, { anchor_y: 0, time: immediate ? 0 : KEYBOARD_ANIMATION_TIME, - transition: 'easeOutQuad', + transition: 'easeInQuad', onComplete: this._hideKeyboardComplete, onCompleteScope: this });